file(GLOB_RECURSE OPERATOR_C_FILES ${CMAKE_CURRENT_SOURCE_DIR}/*.c)
file(GLOB_RECURSE OPERATOR_C_FILES_ORI ${CMAKE_CURRENT_SOURCE_DIR}/../operator/*.c)

list(REMOVE_ITEM OPERATOR_C_FILES_ORI "${CMAKE_CURRENT_SOURCE_DIR}/../operator/conv.c")
list(REMOVE_ITEM OPERATOR_C_FILES_ORI "${CMAKE_CURRENT_SOURCE_DIR}/../operator/gemm.c")

target_sources(
  ${ONNC_RUNTIME_LIB_NAME}
  PRIVATE ${OPERATOR_C_FILES} ${OPERATOR_C_FILES_ORI}
)
